﻿<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <title>newhome</title>
    <title></title>
    <script src="../WF/Scripts/jquery-1.7.2.min.js"></script>
    <script src="../WF/Scripts/QueryString.js"></script>
    <script src="../WF/Scripts/config.js"></script>
    <script src="../WF/Comm/Gener.js"></script>

    <script src="../WF/Scripts/layui/layui/layui.js"></script>
    <link href="layui/css/layui.css" rel="stylesheet" />
    <link href="icons/font_3382697_n826bz1f76/iconfont.css" rel="stylesheet" />
    <script src="../DataUser/JSLibData/001rpt.js"></script>
    <style>
        .table-self {
            border-collapse: collapse;
            border: none;
        }

            .table-self tr td {
                border: none;
            }
    </style>
    <script type="text/javascript">
        layui.use(['layer', 'form'], function () {
            var layer = layui.layer
                , form = layui.form;

            //layer.msg('Hello World');
        });
        //注意：选项卡 依赖 element 模块，否则无法进行功能性操作
        layui.use('element', function () {
            var element = layui.element;

            //…
        });
        $(function () {
            var webUser = new WebUser();
            if (webUser.FK_Dept == "9999") {
                SetHref("MasterHome.htm");
                return;
            }
            SetHref("main.htm");
            return;
            var dept = new Entity("BP.PM.Dept", webUser.FK_Dept);
            var url = "";
            //2级单位.
            if (dept.DeptType == 4) {
                url = "/WF/Portal/RptWhite.htm?PageID=36ebc079-f782-4f10-bab8-d4723de2fcf1";
                SetHref(url);
                return;

            }

            // 1 级单位.
            if (dept.DeptType == 3) {
                url = "/WF/Portal/RptWhite.htm?PageID=d99dce4f-327e-4ab8-8334-3c2cc6a589de";
                SetHref(url);
                return;

            }

            // 业务处。
            if (dept.DeptType == 1 || webUser.No == 'admin') {
                url = "/WF/Portal/RptWhite.htm?PageID=50bf48fd-fd8a-4c95-bba4-40afd08694fe";
                SetHref(url);
                return;
            }

            //admin用户.
            if (dept.DeptType == 0) {
                //  url = "/WF/Portal/RptWhite.htm?PageID=50bf48fd-fd8a-4c95-bba4-40afd08694fe";
                SetHref(url);
            }


        });
    </script>
</head>

<body>
    <div class="layui-fluid">
        <div class="layui-row layui-col-space30">
            <!-- 内容主体区域 -->
            <div class="layui-col-md12" style="padding:10px">
                <div class="layui-card">
                    <div class="layui-card-body">
                        <div class="layui-row layui-col-space10">
                            <div class="layui-col-md4" style="background-color:;">
                                <fieldset class="layui-elem-field">
                                    <div class="layui-field-box" id="rendHomeTopLeft"></div>
                                </fieldset>
                            </div>
                            <div class="layui-col-md4" style="background-color:  ;">
                                <fieldset class="layui-elem-field">
                                    <div class="layui-field-box"></div>
                                </fieldset>
                            </div>
                            <div class="layui-col-md4" style="background-color: ;">
                                <fieldset class="layui-elem-field">
                                    <div class="layui-field-box"></div>
                                </fieldset>
                            </div>
                        </div>
                        <div class="layui-row layui-col-space10">
                            <div class="layui-col-md12" style="background-color:;">
                                <div class="layui-tab layui-tab-brief" lay-filter="docDemoTabBrief">
                                    <ul class="layui-tab-title">
                                        <li class="layui-this">待我办的</li>
                                        <li>我已办的</li>
                                        <li>我发起的</li>
                                    </ul>
                                    <div class="layui-tab-content">
                                        <div class="layui-tab-item layui-show">内容1</div>
                                        <div class="layui-tab-item">内容2</div>
                                        <div class="layui-tab-item">内容3</div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>

</body>
</html>